/**
* 实名认证
*/
import React, { Component } from 'react';
import { View, StyleSheet, Text, Image, TouchableOpacity, ScrollView, TextInput } from "react-native";
import { connect } from 'react-redux';
import { Colors, Dimens, ImageRes } from '../../utils/Assets';
import { create_service } from '../../redux/index.js';
import { Contract } from '../../service/index.js';
import ImagePicker from 'react-native-image-picker'
import { Actions } from 'react-native-router-flux';
import Toast from 'react-native-root-toast';

class PersonalAuthThreeView extends Component {

    constructor(props) {
        super(props);
        this.state = {
            loading: false
        }
    }
    componentDidMount() {

    }
    render() {
        return (
            <View style={styles.container}>
                <Image source={ImageRes.personal_auth_three} style={{ width: Dimens.DeviceWidth, height: Dimens.DeviceWidth * 0.27 }}></Image>
                <View style={{ flex: 1 }}>
                    <Image source={ImageRes.personal_auth_success} style={{ width: 250, height: 250 * 0.57, alignSelf: 'center', marginTop: 80 }}></Image>
                    <Text style={{ fontSize: 20, color: "#378EFB", alignSelf: 'center',fontWeight:'bold', marginTop:20 }}>认证成功</Text>
                    <TouchableOpacity style={{ marginTop: 50, backgroundColor: '#378EFB', justifyContent: 'center', marginHorizontal: 15, paddingVertical: 15, borderRadius: 5 }} activeOpacity={0.8} onPress={() => {

                    }}>
                        <Text style={{ fontSize: 15, color: "#ffffff", alignSelf: 'center' }}>返回团队</Text>
                    </TouchableOpacity>
                </View>
            </View>
        )
    }
}

const styles = StyleSheet.create({
    container: {
        flex: 1,
        backgroundColor: Colors.white_color
    }
});
const ExportView = connect()(PersonalAuthThreeView);
module.exports.PersonalAuthThreeView = ExportView
